package com.cskaoyan.gateway.form.cart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName: CartForm
 * @Description:
 * @author: by zjl
 * @Date: 2021/5/22   16:58
 */
@Data
@ApiModel   //在实体类上边使用，标记类是swagger的解析类
public class CartForm {

    @ApiModelProperty(name = "userId", value = "用户Id", example = "1234")
    private Long userId;

    @ApiModelProperty(name = "productId", value = "产品Id", example = "1234")
    private Long productId;

    @ApiModelProperty(name = "productNum", value = "产品数量", example = "1")
    private Integer productNum;

    @ApiModelProperty(name = "checked", value = "是否选中")
    private String checked;

}